//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	SecurityPolicy.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

namespace Smart.Common.Security
{
	/// <summary>
	/// Security policy (this is security tactics identified by <paramref name="Name"/>, describing how to protect securable with <paramref name="Value"/> value)
	/// </summary>
	public class SecurityPolicy
	{
		/// <summary>
		/// Security policy name (specify security tactics, define security matrix)
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// Security policy value (security tactics parameter, define securable type)
		/// </summary>
		public string Value { get; set; }

		/// <summary>
		/// Security policy (this is security tactics identified by <paramref name="name"/>, describing how to protect securable with <paramref name="value"/> value)
		/// </summary>
		public SecurityPolicy(string name, string value)
		{
			Name = name;
			Value = value;
		}
	}
}